Page({
    data:{
        weeklyDataList:[{
            name:"day1",
            whetherSleepWell:true,
            id:1
           
        },
        {
            name:"day2",
            whetherSleepWell:false,
            id:1764796
        },
        {
            name:"day3",
            whetherSleepWell:true,
            id:3
        },
        {
            name:"day4",
            whetherSleepWell:false,
            id:4           
        }]
    },
    f1:function(event){
        var movieId=event.currentTarget.dataset.movieId
        
        console.log(event.currentTarget)
        wx.navigateTo({
            url:'/pages/detail/detail?id='+ movieId
    })
},
onShareAppMessage:function(){
    return{
        title:"每周数据"
    }
}
})